package com.fs.erp.api.basedata.vo.product;

import com.fs.erp.web.components.validation.IsCode;
import com.fs.erp.web.vo.BaseVo;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class UpdateProductVo implements BaseVo, Serializable {
    private static final long serialVersionUID = 1L;

    private String id;

    private String name;

    @IsCode
    private String code;

    private String skuCode;

    private String externalCode;

    private BigDecimal  purchasePrice;

    private BigDecimal retailPrice;

    private BigDecimal salePrice;

    private String salePropItem1Id;

    private String salePropItem2Id;

    private String spec;

    private String available;

    private String unit;
}
